| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | var gulp = require('gulp'); |
||
| 13 | gulp.task('script', () => { |
||
| 14 | return rollup({ |
||
| 15 | entry: 'src/bootstrap.ts', |
||
| 16 | plugins: [ |
||
| 17 | typescript() |
||
| 18 | ], |
||
| 19 | external: Object.keys(globals) |
||
| 20 | }).then((bundle)=> { |
||
| 21 | return bundle.write({ |
||
| 22 | globals, |
||
| 23 | format: 'iife', |
||
| 24 | dest: './dist/app.js', |
||
| 25 | sourceMap: 'inline' |
||
| 26 | }); |
||
| 27 | }); |
||
| 28 | }); |
||
| 29 | |||
| 36 | }); |
This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.